package main

import (
	"fmt"
	"io/ioutil"
)

func main() {
	fmt.Println("您好，世界")
	fmt.Println(getfiles("."))
}

func getfiles(dir string) []string {
	//	result := []string{"我是大英雄", "你是都狗熊"}
	//	return result
	result := make([]string, 1)
	files, _ := ioutil.ReadDir(dir)
	for _, file := range files {
		if !file.IsDir() {
			//			fmt.Println(file.Name())
			result = append(result, file.Name())
		}
	}
	return result
}
